package org.redis.cluster.transport.client;

import org.redis.cluster.transport.exception.TimeoutException;

public interface Client {

	/**
	 * 发送
	 * @param data
	 * @return
	 * @throws TimeoutException
	 */
	public byte[] send(Object data) throws TimeoutException;
	
	/**
	 * 关闭
	 */
	public void close();
}